<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">
  <title>扬州双扬生物科技有限公司 - 用户认证</title>
  <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

  <link href="${BASE}/www/hui/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
  <link href="${BASE}/www/hui/font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">

  <link href="${BASE}/www/hui/css/animate.css" rel="stylesheet">
  <link href="${BASE}/www/hui/css/style.css?v=2.2.0" rel="stylesheet">
  <link rel="Shortcut Icon" href="${BASE }/www/img/favicon.ico">

  <script src="${BASE}/www/hui/js/jquery-2.1.1.min.js"></script>
  <script src="${BASE}/www/lib/jquery-localstorage/jquery.storage.js"></script>

</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
  <div>
    <%--<div>--%>
      <%--<h1 class="logo-name">H+</h1>--%>
    <%--</div>--%>
    <h3>双扬生物科技有限公司</h3>

    <form class="m-t" role="form" action="${BASE}/a/login" method="post">
      <div class="form-group">
        <input type="text" name="username" class="form-control" placeholder="手机号" required="">
      </div>
      <div class="form-group">
        <input type="password" name="password" class="form-control" placeholder="密码" required="">
      </div>
      <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>


      <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a>
      </p>

    </form>
    <div class="login_main_errortip">&nbsp;</div>
    <%--<div class="copyright">--%>
      <%--扬州双扬生产综合管控系统<br>--%>
    <%--</div>--%>
  </div>
</div>

<c:choose>
  <c:when test="${error eq 'com.jackchan.homework.system.utils.CaptchaException'}">
    <script>
      $(".login_main_errortip").html("验证码错误，请重试");
    </script>
  </c:when>
  <c:when test="${error eq 'org.apache.shiro.authc.UnknownAccountException'}">
    <script>
      $(".login_main_errortip").html("帐号或密码错误，请重试");
    </script>
  </c:when>
  <c:when test="${error eq 'org.apache.shiro.authc.IncorrectCredentialsException'}">
    <script>
      $(".login_main_errortip").html("用户名不存在，请重试");
    </script>
  </c:when>
</c:choose>

<!-- Mainly scripts -->
<script src="${BASE}/www/hui/js/bootstrap.min.js?v=3.4.0"></script>
<script>
  $(function(){
    $.localStorage('nav', null);
  });
</script>
</body>

</html>
